On the Eecient Scheduling of Non-periodic Tasks in Hard Real-time Systems

نویسندگان

  • Michael E Thomadakis
  • Jyh-Charn Liu
چکیده

This paper proposes eecient scheduling algorithms for the joint scheduling of hard aperiodic, sporadic and periodic real time tasks, in systems based on preemptive, xed-priority dispatching. Our scheme guarantees or rejects hard aperiodic real time tasks without any prior knowledge of their attributes, by managing the idle processor capacity dynamically. The method assigns xed priorities to periodic tasks based on the Deadline Monotonic (DM) scheme and analyzes their schedule oo-line. We derive closed form solutions for the idle processor capacity process Z(t) within a schedule. In the absence of pending dynamic tasks, periodic tasks execute in their earliest possible schedule S F , called the Fixed-Priority First (FPF). Upon the arrival of a non-periodic task Ja, the scheduler directly determines its admissibility, based on closed form equation of the available processor time in the current schedule, until the deadline of Ja. If Ja cannot be guaranteed under FPF, the scheduler evaluates the idle processor capacity of an alternative schedule S L , where periodic tasks are delayed to execute at their latest possible times, called the Latest Deadline Last (LDL). If LDL ooers suucient idle capacity, the scheduler switches all periodic tasks from FPF to LDL, assigns Ja the lowest priority and admits it into the system. Otherwise, it immediately rejects Ja. We develop the theoretical framework and derive eecient algorithms to compute the idle processors capacity Z(a; b) within a time interval a; b], and maintain it when the schedule is adjusted. The algorithms can also reclaim unused capacity from guaranteed tasks. Our admission control procedure has computational complexity (n) when the non-periodic task queue is serviced in FIFO order, with n periodic tasks. Previously proposed methods have pseudopolynomial time and space complexity. Experimental results show that with n = 160 periodic tasks, the actual computation time for the admission control procedure is less than 90-secs on a SUN Ultra-Sparc I, 143MHz machine and less than 30-secs on a SGI Origin 2000, 250MHz workstation. Experiments on well known task sets show overheads which are below 10-secs even for the slowest machine. The proposed methodology easily extends to algorithms that minimize total task tardiness and number of tardy tasks.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Safety Verification of Real Time Systems Serving Periodic Devices

In real-time systems response to a request from a controlled object must be correct and timely. Any late response to a request from such a device might lead to a catastrophy. The possibility of a task overrun, i.e., missing the deadline for completing a requested task, must be checked and removed during the design of such systems. Safe design of real-time systems running periodic tasks under th...

متن کامل

on Real - Time Systems 1 Schedulability Analysis of Periodic and Aperiodic Tasks withResource

In this paper, we address the problem of scheduling hybrid task sets consisting of hard periodic and soft aperiodic tasks that may share resources in exclusive mode in a dynamic environment, where tasks are scheduled based on their deadlines. Bounded blocking on exclusive resources is achieved by means of a dynamic resource access protocol which also prevents deadlocks and chained blocking. Ape...

متن کامل

An Efficient Genetic Algorithm for Task Scheduling on Heterogeneous Computing Systems Based on TRIZ

An efficient assignment and scheduling of tasks is one of the key elements in effective utilization of heterogeneous multiprocessor systems. The task scheduling problem has been proven to be NP-hard is the reason why we used meta-heuristic methods for finding a suboptimal schedule. In this paper we proposed a new approach using TRIZ (specially 40 inventive principles). The basic idea of thi...

متن کامل

An Efficient Genetic Algorithm for Task Scheduling on Heterogeneous Computing Systems Based on TRIZ

An efficient assignment and scheduling of tasks is one of the key elements in effective utilization of heterogeneous multiprocessor systems. The task scheduling problem has been proven to be NP-hard is the reason why we used meta-heuristic methods for finding a suboptimal schedule. In this paper we proposed a new approach using TRIZ (specially 40 inventive principles). The basic idea of thi...

متن کامل

Scheduling Periodic and AperiodicTasks Using the Slack

This chapter discusses the problem of jointly scheduling hard deadline periodic tasks and both hard and soft deadline aperiodic tasks using xed-priority methods. A recently developed algorithm, the slack stealing algorithm developed by the authors, is introduced and its properties are discussed. The methods introduced provide a uniied framework for dealing with several related problems, includi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999